//
//  MyLable.m
//  王宇先_02
//
//  Created by wyx on 16/3/10.
//  Copyright © 2016年 Apon. All rights reserved.
//

#import "MyLable.h"

@implementation MyLable

- (instancetype)initWithFrame:(CGRect)frame text:(NSString *)text {
    self = [super initWithFrame:frame];
    if (self) {
        self.text = text;
    }
    [self config];
    return self;
}
- (void)config {
    //右对齐
    self.textAlignment = NSTextAlignmentRight;
    self.font = [UIFont systemFontOfSize:25];
}

@end
